package com.encyclopedia.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author MaLiang
 * @version 1.0
 * @date 2024-04-22 10:53
 * 植物环境信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "planting_environment")
public class Environment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId("pe_id")
    private Integer peId;

    /**
     * 种植信息表id
     */
    @TableField("plant_cultivation_id")
    private Integer plantCultivationId;

    /**
     * 土壤类型
     */
    @TableField("soil_type")
    private String soilType;


    /**
     * 灌溉方式
     */
    @TableField("irrigation_method")
    private String irrigationMethod;

    /**
     * 施肥计划
     */
    @TableField("fertilization_schedule")
    private String fertilizationSchedule;

    /**
     * 防止措施
     */
    @TableField("pest_control_methods")
    private String pestControlMethods;

}
